import React, { Component } from 'react';
import Swiper from '../../components/Swiper'
class Index extends Component {
	render() {
		const { location } = this.props
		const { state } = location
		const { urls, price, desc, title } = state
		return (
			<div>
				<Swiper banners={ urls }></Swiper>
				<h3>{ title }</h3>
				<p>{desc}</p>
				<b>￥{ price }</b>
			</div>
		);
	}
}

export default Index;
